package net.jarang.android.saleoffline.domain;

public class Sale {
	private int id;
	private String product;
	private String location;
	private String shopName;
	private int fromOff;
	private int toOff;
	private String fromDate;
	private String toDate;
	private String thumbnailImageUrl1;
	private String thumbnailImageUrl2;
	private String imageUrl1;
	private String imageUrl2;
	
	public CharSequence displayLocation() {
		return shopName;
	}
	
	public CharSequence displaySaleInfo() {
		return product + " (" + fromOff + "% ~ " + toOff + "%)";
	}
	
	public CharSequence displaySaleDate() {
		return fromDate + " ~ " + toDate;
	}

	public CharSequence displaySaleOff() {
		return toOff + "% ~ " + fromOff + "%";
	}	

	public String getThumbnailImageUrl1() {
		return thumbnailImageUrl1;
	}
	public void setThumbnailImageUrl1(String imageUrl) {
		this.thumbnailImageUrl1 = imageUrl;
	}
	public String getProduct() {
		return product;
	}
	public void setProduct(String product) {
		this.product = product;
	}
	public String getLocation() {
		return location;
	}
	public void setLocation(String location) {
		this.location = location;
	}
	public String getShopName() {
		return shopName;
	}
	public void setShopName(String department) {
		this.shopName = department;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getThumbnailImageUrl2() {
		return thumbnailImageUrl2;
	}
	public void setThumbnailImageUrl2(String thumbnailImageUrl2) {
		this.thumbnailImageUrl2 = thumbnailImageUrl2;
	}
	public String getImageUrl1() {
		return imageUrl1;
	}
	public void setImageUrl1(String imageUrl1) {
		this.imageUrl1 = imageUrl1;
	}
	public String getImageUrl2() {
		return imageUrl2;
	}
	public void setImageUrl2(String imageUrl2) {
		this.imageUrl2 = imageUrl2;
	}
	public int getFromOff() {
		return fromOff;
	}
	public void setFromOff(int fromOff) {
		this.fromOff = fromOff;
	}
	public int getToOff() {
		return toOff;
	}
	public void setToOff(int toOff) {
		this.toOff = toOff;
	}
	public String getFromDate() {
		return fromDate;
	}
	public void setFromDate(String fromDate) {
		this.fromDate = fromDate;
	}
	public String getToDate() {
		return toDate;
	}
	public void setToDate(String toDate) {
		this.toDate = toDate;
	}
}
